package com.hnevc.mallserver3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_goodstype")
@ApiModel(value = "GoodsType", description = "商品类别")
public class GoodsType {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "类别名称")
    private String typeName;
    @ApiModelProperty(value = "类别图标")
    private String icon;
}
